<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <script src="../angular.js"></script>
</head>
<body>
<!--指令-->
<div ng-app="" ng-init="firstName='John'">
    <p><span ng-bind="firstName"></span></p>
</div>
</body>
</html>